Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: mail crash from underflow and document variables #1582

Merged
merged 2 commits into from
May 16, 2024
Merged

Conversation

EmosewaMC
Copy link
Collaborator

fixes an issue where, if a mail of a long enough subject/description/sender would serialize mail to the client, it would crash from trying to write an absurdly large packet.

Tested that mail no longer crashes with string fields that are too long and that mail is still correctly serialized to the client and multiple mails still showed up with their items.
Documented fields that were undocumented and removed extraneous functions

@EmosewaMC EmosewaMC requested review from jadebenn and Jettford May 16, 2024 00:12
@aronwk-aaron aronwk-aaron merged commit 09a8c99 into main May 16, 2024
4 checks passed
@aronwk-aaron aronwk-aaron deleted the mail branch May 16, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants